const fn = (a: number = 5, b: boolean = true, c: string = 'foo') => {};

function fn(a: number = 5, b: boolean = true, c: string = 'foo') {}

const fn = function (a: number = 5, b: boolean = true, c: string = 'foo') {};